<?php

class Test_Abovo_Model_Auth_DataFilter extends Solar_Test {
    
    private $_filter;
    
    public function setup()
    {
        $this->_filter = Solar::factory('Abovo_Model_Auth_DataFilter');
    }
    
    public function testValidateHandle()
    {
        $this->assertTrue($this->_filter->validateHandle('antti'));
        $this->assertTrue($this->_filter->validateHandle('anttih84'));
        $this->assertFalse($this->_filter->validateHandle('_anttih84'));
        $this->assertTrue($this->_filter->validateHandle('012345'));
        $this->assertFalse($this->_filter->validateHandle('0123456789123456'));
    }
    
}
